This is a demo program which shows how the bootstrap code in the MBR generated by the MS DOS fdisk program works. It has been reimplemented as a COM executable so that it can be ran on its own but has been modified so that it won’t actually try to boot an operating system
Code
MBRDemo.asm